package com.ruoyi.store.mapper;

import java.util.List;
import com.ruoyi.store.domain.StockTakingDetail;

/**
 * 库存盘点详情Mapper接口
 * 
 * @author lmj
 * @date 2024-11-04
 */
public interface StockTakingDetailMapper 
{
    /**
     * 查询库存盘点详情
     * 
     * @param id 库存盘点详情主键
     * @return 库存盘点详情
     */
    public StockTakingDetail selectStockTakingDetailById(Integer id);

    /**
     * 查询库存盘点详情列表
     * 
     * @param stockTakingDetail 库存盘点详情
     * @return 库存盘点详情集合
     */
    public List<StockTakingDetail> selectStockTakingDetailList(StockTakingDetail stockTakingDetail);

    /**
     * 新增库存盘点详情
     * 
     * @param stockTakingDetail 库存盘点详情
     * @return 结果
     */
    public int insertStockTakingDetail(StockTakingDetail stockTakingDetail);

    /**
     * 修改库存盘点详情
     * 
     * @param stockTakingDetail 库存盘点详情
     * @return 结果
     */
    public int updateStockTakingDetail(StockTakingDetail stockTakingDetail);

    /**
     * 删除库存盘点详情
     * 
     * @param id 库存盘点详情主键
     * @return 结果
     */
    public int deleteStockTakingDetailById(Integer id);

    /**
     * 批量删除库存盘点详情
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStockTakingDetailByIds(Integer[] ids);
}
